var sql = '';

for (var i = 0; i < 32; i++) {
	sql += `delete from jx_trade_${i} where trade_create <= '2019-10-22 00:00:00';\n`;
}

console.info(sql);